import Taro from '@tarojs/taro'

 const storage = {
  // 设置
  set(key,value){
    Taro.setStorageSync(key,value)
  },
   // 获取
  get(key){
    return Taro.getStorageSync(key)
  },
   // 删除
  remote(key){
    Taro.clearStorageSync(key)
  }
}

export default storage
